package com.qding.park.manager.facade.queue.service.enums;


/**
 * @ClassName ArkCarTypeEnum
 * @Description TODO(方舟车牌类型)
 * @author LeiYang
 * @Date 2017年5月3日 下午2:20:54
 * @version 1.0.0
 */
public enum ArkDeleteTagEnum {
    
    DELETE("已删除", "1"),
    NOTDELETE("未删除","0");
    
    /** 枚举值 */
    private String value;
    /** 描述 */
    private String desc;
    
    private ArkDeleteTagEnum(String desc, String value) {
        this.value = value;
        this.desc = desc;
    }

    
    public String getValue() {
        return value;
    }

    
    public void setValue(String value) {
        this.value = value;
    }

    
    public String getDesc() {
        return desc;
    }

    
    public void setDesc(String desc) {
        this.desc = desc;
    }
    
    
    public static ArkDeleteTagEnum getEnum(String value) {
        ArkDeleteTagEnum resultEnum = null;
        ArkDeleteTagEnum[] enumAry = ArkDeleteTagEnum.values();
        for (int i = 0; i < enumAry.length; i++) {
            if (enumAry[i].getValue().equals(value)) {
                resultEnum = enumAry[i];
                break;
            }
        }
        return resultEnum;
    }

}
